import { post } from '@/utils/request';

export function tree(): any {
  return post(`/pxks-api/announcement/tree`, undefined);
}

export function page(data: any): any {
  return post(`/pxks-api/announcement/page`, data);
}

export function select(id: any): any {
  return post(`/pxks-api/announcement/select/${id}`, undefined);
}

export function read(id: any): any {
  return post(`/pxks-api/announcement/read/${id}`, undefined);
}
